function  ping_jun=avg(a)
sum=0;
for i=1:10
    sum=sum+a(i);
end
ping_jun=sum/10